<template>
  <view class="loading-con">
    <!--  <label>
        <u-loading-icon color="#FFC107" size="30" textColor="#FFC107" :text="text" ></u-loading-icon>
      </label>-->
  </view>
</template>

<script>
export default {
  name: "loading",
  props: {
    text: {
      type: String,
      default: () => {
        return "加载中"
      }
    }
  }
}
</script>

<style scoped lang="scss">
.loading-con {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  z-index: 100;
  top: 0;
  left: 0;
  padding: 40rpx;
  background-color: rgba(0, 0, 0, 0.43);

  image {
    width: 100%;
    min-height: 50px;
  }
}
</style>
